﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace dasBlog.Storage
{
    [DataContract(Namespace = Names.DataContractNamespace)]
    public class ScopeDescription
    {
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public PathMappings Paths { get; set; }

        public ScopeDescription()
        {
            Paths = new PathMappings();
        }

        public ScopeDescription(string scope)
            : this()
        {
            this.Name = scope;
        }
    }
}
